@layout("/common/_container.html",{js:["/assets/afterIndent/afterIndent_edit.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">修改</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="afterIndentForm" lay-filter="afterIndentForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>
                <div class="layui-form-item">
                    <label class="layui-form-label">采购单id<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="purchaseId" name="purchaseId" placeholder="请输入采购单id" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">1.维修2.退货<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="type" name="type" placeholder="请输入1.维修2.退货" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">退货或维修数量<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="amount" name="amount" placeholder="请输入退货或维修数量" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">原因<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="reason" name="reason" placeholder="请输入原因" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">问题类型<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="troubleTypeId" name="troubleTypeId" placeholder="请输入问题类型" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">维修前图片<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="picBefore" name="picBefore" placeholder="请输入维修前图片" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">维修后图片<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="picAfter" name="picAfter" placeholder="请输入维修后图片" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">1.进行中2,交易完成<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="status" name="status" placeholder="请输入1.进行中2,交易完成" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">评论<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="comment" name="comment" placeholder="请输入评论" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}